package com.lzy.shops.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.lzy.shops.bean.UserAddress;
import com.lzy.shops.bean.UserAndAddress;
import org.apache.ibatis.annotations.Param;

public interface UserAndAddressService {
    public UserAndAddress findByUser(Integer userId,Integer start,Integer end);
    public Integer findByUserCount(Integer userId);
    public Boolean insertUserAddress(Integer userId,UserAddress userAddress) throws JsonProcessingException;
    public Boolean delUserAddress(Integer addressId,Integer userId);
}
